package com.huzy.smalloop.controller;

import cn.dev33.satoken.stp.StpUtil;
import cn.dev33.satoken.util.SaResult;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.huzy.smalloop.entity.SysUser;
import com.huzy.smalloop.service.ISysUserService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * @Description: 系统登录操作
 * @Author: ziyin.hu
 * @Date: 2024-05-22 17:38
 * @Version:
 */

@RestController
@Tag(name = "设备模块")
@RequiredArgsConstructor
@RequestMapping("/device")
public class SwDeviceInfoController {

    @PostMapping("/list")
    @Operation(summary = "获取抽屉柜回路列表")
    public SaResult login(@RequestBody String siteCode){
       return SaResult.data(siteCode);
    }

}
